<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script src="../../element.js"></script>
    <script>
        // 创建一个输入框
        const input1 = html.input()
            .attr({
                'type': 'text',
                'placeholder': '请输入内容',
                'value': '这是一个输入框'
            })
            .isDisable()
            .render('#app');

        html.br().render('#app');

        html.button('按钮')
            .isDisable(true)
        .render('#app');
    </script>
</body>
</html>